<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:fragment="side" class ="sidebar clearfix" style="display: block;">
    <div class="dropdown link">
        <a href="#" data-toggle="dropdown" class="dropdown-toggle profilebox">
            <img th:src="@{'/img/'+${session.user.headimg}}"/>
            <div class="user-name"><b th:text="${session.user.email}">Stephen Doe</b><span class="caret"></span></div></a>
        <ul class="dropdown-menu dropdown-menu-list dropdown-menu-right">
            <li><a href="\Setting"><i class="fa falist fa-gear"></i>个人信息</a></li>
            <li><a href="\exist"><i class="fa falist fa-power-off"></i>登出</a></li>
        </ul>
    </div>
    <ul class="sidebar-panel nav">
        <li><a ><span class="icon color7"><i class="fa fa-users"></i></span>客户管理<span class="caret"></span></a>
            <ul>
<!--                <li><a href="/CustomerList">客户列表</a></li>-->
                <li><a th:href="@{/CustomerList/(current=1,size=5)}">客户列表</a>
            </ul>
        </li>
        <li><a ><span class="icon color7"><i class="fa fa-file-o"></i></span>工单管理<span class="caret"></span></a>
            <ul>
                <li><a th:href="@{/workorderlist/(current=1,size=5)}">工单列表</a></li>
            </ul>
        </li>
    </ul>
</div>
</body>
</html>